﻿using System;
using System.Windows.Forms;

namespace Inaction.UI
{
    [Serializable]
    public class BindingChangeEventArgs : EventArgs
    {
        public BindingSource OldSource
        {
            get;
            set;
        }
        public BindingSource NewSource
        {
            get;
            set;
        }

        public BindingChangeEventArgs(BindingSource oldSource, BindingSource newSource)
        {
            OldSource = oldSource;
            NewSource = newSource;
        }
    }
}
